#ifndef __SPIFF_H__
#define __SPIFF_H__
#include "esp_spiffs.h"
#include "spiff.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "esp_event.h"
#include "esp_err.h"
#include "esp_system.h"
#include <dirent.h>
#include <sys/stat.h>
#include "common.h"
 

void initNvs();

esp_err_t init_spiffs();

esp_err_t dump_file_hex(const char *filename);

void list_spiffs_files(void);

#endif